package com.project.dynaProxy;

public class Test {
    public static void main(String[] args) {
        ProxyFactory p = new ProxyFactory(new StudentDaoImpl());
        IStudentDao dao = (IStudentDao) p.getProxy();
        dao.add();
        dao.update();
    }
}
